<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<div id="insert-layer" style="display: none; padding: 20px">
    <form class="layui-form" action="insertCustomer" method="post">
        <div class="layui-form-item">
            <label class="layui-form-label">客户名:</label>
            <div class="layui-input-inline">
                <input
                        type="text"
                        name="name"
                        lay-verify="required"
                        placeholder="请输入客户名"
                        autocomplete="off"
                        class="layui-input"
                />
            </div>
        </div>

        <div class="layui-form-item">
            <label class="layui-form-label">Email:</label>
            <div class="layui-input-block">
                <input
                        type="text"
                        name="email"
                        lay-verify="email"
                        placeholder="请输入Email"
                        autocomplete="off"
                        class="layui-input"
                />
            </div>
        </div>

        <div class="layui-form-item">
            <label class="layui-form-label">余额:</label>
            <div class="layui-input-block">
                <input
                        type="text"
                        name="balance"
                        lay-verify="required|number"
                        placeholder="请输入余额"
                        autocomplete="off"
                        class="layui-input"
                />
            </div>
        </div>

        <div class="layui-form-item">
            <div class="layui-input-block">
                <button
                        type="submit"
                        class="layui-btn"
                        lay-submit=""
                >
                    插入数据
                </button>
                <button type="reset" class="layui-btn layui-btn-primary">
                    重置
                </button>
            </div>
        </div>
    </form>
</div>

